<script setup>
import { ref } from 'vue'
import LoginCard from "@/components/LoginCard.vue";
import IndexNavContent from "@/components/IndexNavContent.vue";
import IndexHeadline from "@/components/IndexHeadline.vue";
import IndexTitle from "@/components/IndexTitle.vue";

const showModal = ref(false)
</script>

<template>
  <IndexHeadline @login-click="showModal = true"></IndexHeadline>
  <IndexTitle></IndexTitle>
  <IndexNavContent></IndexNavContent>
  <div class="end-declare">
    <div class="declare-txt">未经同意，不得转载本网站之所有招聘信息</div>
    <div class="declare-txt">西南石油大学 蜀ICP备xxxxxxxxx号</div>
  </div>

  <LoginCard :show="showModal" @close="showModal = false"></LoginCard>
</template>

<style scoped>
.end-declare {
  background-color: #ebecee;
  font-size: 14px;
  color: #9d9d9e;
  height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.declare-txt {
  line-height: 1.2;
  margin: 2px 0;
  transform: translateY(-2px);
}
</style>